<%-- <%@page import="com.asiainfo.os.InitParam"%> --%>
<%@page import="java.util.*"%>
<%-- <%@page import="com.linkage.bace.core.GlobalValues"%>
<%@page import="com.asiainfo.os.LogDSUtil"%> --%>
<%@page import="com.ai.dmc.index.web.util.SessionInfoUtil"%>
<%-- <%@page import="com.asiainfo.os.bean.StaffSessBean"%>
<%@page import="com.asiainfo.portal.framework.busiclient.HttpPost"%>
<%@page import="com.asiainfo.portal.framework.busiclient.SsoDataFetch"%>
<%@page
	import="com.asiainfo.portal.framework.busiclient.DefaultPopedomImpl"%>
<%@page import="com.asiainfo.login.LoginUtil"%> --%>

<%@page contentType="text/html;charset=utf-8" language="java"%>

<%
	/* String loginUrl = GlobalValues.CONTENT_PATH + "/login/login.jsp";

	//记录登录日志
	StaffSessBean staffSessBean = SessionInfoUtil
			.getStaffSessBean(session);
	if (null != staffSessBean) {
		String logContent = "退出";
		String funcId = "loginOut";
		String logType = "visit";
		LogDSUtil logDSUtil = new LogDSUtil();
		logDSUtil.insertVisitLog(staffSessBean, logContent, funcId);

		//本地session注销
		SessionInfoUtil.removeStaffSessBean(session);
	}

	//正式环境可能需要注销4A
	if (InitParam.DEPLOY_TYPE_PRODUCT.equals(InitParam.DEPLOY_TYPE)
			&& "zj".equals(InitParam.DEPLOY_PROVINCE)) {
		loginUrl = GlobalValues.CONTENT_PATH + "/login/ssoLogin.jsp";

		//4A session注销
		String hostIp = SsoDataFetch.getHostIp(request);
		String port = SsoDataFetch.getPort(request);
		String sessionId = SsoDataFetch.getMainSessionId(request);

		if (null != sessionId && sessionId.length() > 0) {
			LoginUtil.logOut(hostIp, port, sessionId);
		}
	} */
	//记录退出日志
	
	String loginUrl = "../../login/login.jsp";
	//本地session注销
	SessionInfoUtil.removeStaffSessBean(session);
%>

<script>
	var loginUrl = '<%=loginUrl%>';
	window.top.location.href = loginUrl;
</script>
